import time

start_time = time.time()
# 计算耗时
time.sleep(3)  # 暂停 5 秒
total_time = time.time() - start_time
print(f"数据同步总耗时 Total time: {total_time:.2f} seconds")